﻿using System.Configuration;

namespace CommonModel.Config
{
    /// <summary>
    /// Mq配置
    /// </summary>
    public class MqConfig
    {
        /// <summary>
        /// 主机名
        /// </summary>
        public static string HostName
        {
            get
            {
                return ConfigurationManager.AppSettings["HostName_Mq"];
            }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public static string UserName
        {
            get
            {
                return ConfigurationManager.AppSettings["UserName_Mq"];
            }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public static string Password
        {
            get
            {
                return ConfigurationManager.AppSettings["Password_Mq"];
            }
        }
    }
}
